/* 复用Dashboard的基础样式 */
.dashboard-container {
    min-height: 100vh;
    background: #f5f7fa;
  }
  
  .header {
    background: white;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-left .logo {
    margin: 0;
    color: #1890ff;
    font-size: 20px;
    font-weight: 600;
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .admin-name {
    color: #666;
    font-size: 14px;
  }
  
  .logout-btn {
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }
  
  .logout-btn:hover {
    background: #ff7875;
  }
  
  .main-content {
    display: flex;
    min-height: calc(100vh - 64px);
  }
  
  .sidebar {
    width: 240px;
    background: white;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu {
    padding: 16px 0;
  }
  
  .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
  }
  
  .menu-item:hover {
    background: #f0f2f5;
  }
  
  .menu-item.active {
    background: #e6f7ff;
    border-left-color: #1890ff;
    color: #1890ff;
  }
  
  .menu-item .icon {
    margin-right: 12px;
    font-size: 16px;
  }
  
  .content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
  }
  
  /* 页面特有样式 */
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .page-header h2 {
    margin: 0;
    color: #262626;
    font-size: 24px;
    font-weight: 600;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .search-box {
    display: flex;
    gap: 8px;
  }
  
  .search-input {
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
    transition: border-color 0.3s ease;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  }
  
  .search-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }
  
  .search-btn:hover {
    background: #40a9ff;
  }
  
  .filter-tabs {
    display: flex;
    gap: 8px;
  }
  
  .tab-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .tab-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
  }
  
  .tab-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
  }
  
  /* 批量操作样式 */
  .batch-actions {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .batch-info {
    color: #1890ff;
    font-weight: 500;
    font-size: 14px;
  }
  
  .batch-buttons {
    display: flex;
    gap: 12px;
  }
  
  .batch-approve-btn {
    background: #52c41a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }
  
  .batch-approve-btn:hover {
    background: #73d13d;
  }
  
  .batch-reject-btn {
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }
  
  .batch-reject-btn:hover {
    background: #ff7875;
  }
  
  .batch-clear-btn {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
  }
  
  .batch-clear-btn:hover {
    background: #e6e6e6;
  }
  
  .user-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 400px;
  }
  
  .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
    font-size: 16px;
  }
  
  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #999;
  }
  
  .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
  }
  
  /* 表格样式 */
  .user-table-container {
    padding: 0;
    overflow-x: auto;
  }
  
  .user-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
  }
  
  .user-table th {
    background: #fafafa;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #262626;
    border-bottom: 2px solid #f0f0f0;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .user-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
    vertical-align: middle;
  }
  
  .user-row:hover {
    background: #f8f9fa;
  }
  
  .user-row.selected {
    background: #e6f7ff;
  }
  
  .user-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
  }
  
  /* 表格单元格样式 */
  .user-name {
    color: #262626 !important;
    font-weight: 600;
  }
  
  .user-type {
    color: #1890ff !important;
    font-weight: 500;
  }
  
  .user-id {
    font-family: 'Courier New', monospace;
    color: #1890ff !important;
    font-weight: 500;
  }
  
  .user-extra {
    color: #666 !important;
  }
  
  .apply-time {
    color: #999 !important;
    font-size: 12px !important;
  }
  
  .user-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .user-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
  
  .user-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .approve-btn {
    background: #52c41a;
    color: white;
  }
  
  .approve-btn:hover:not(:disabled) {
    background: #73d13d;
  }
  
  .reject-btn {
    background: #ff4d4f;
    color: white;
  }
  
  .reject-btn:hover:not(:disabled) {
    background: #ff7875;
  }
  
  .deactivate-btn {
    background: #faad14;
    color: white;
  }
  
  .deactivate-btn:hover:not(:disabled) {
    background: #ffc53d;
  }
  
  .user-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  /* 分页样式 */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
  }
  
  .page-btn {
    background: white;
    border: 1px solid #d9d9d9;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .page-btn:hover:not(:disabled) {
    border-color: #1890ff;
    color: #1890ff;
  }
  
  .page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
  }
  
  .page-numbers {
    display: flex;
    gap: 8px;
  }
  
  .page-number {
    background: white;
    border: 1px solid #d9d9d9;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .page-number:hover {
    border-color: #1890ff;
    color: #1890ff;
  }
  
  .page-number.active {
    background: #1890ff;
    border-color: #1890ff;
    color: white;
  }
  
  .page-info {
    color: #666;
    font-size: 14px;
    margin-left: 16px;
  }
  
  /* 弹窗样式 */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    overflow: hidden;
  }
  
  .modal-header {
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .close-btn:hover {
    color: #666;
  }
  
  .modal-body {
    padding: 20px 25px;
  }
  
  .modal-body p {
    margin: 0 0 16px 0;
    color: #666;
    line-height: 1.5;
  }
  
  .reject-reason {
    margin-top: 16px;
  }
  
  .reject-reason label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
  }
  
  .reject-reason textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
  }
  
  .reject-reason textarea:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  }
  
  .modal-footer {
    padding: 15px 25px 20px;
    text-align: right;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
  }
  
  .modal-footer button {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .cancel-btn {
    background: #f5f5f5;
    color: #666;
  }
  
  .cancel-btn:hover {
    background: #e6e6e6;
  }
  
  .confirm-btn {
    color: white;
  }
  
  .confirm-btn.approve {
    background: #52c41a;
  }
  
  .confirm-btn.approve:hover:not(:disabled) {
    background: #73d13d;
  }
  
  .confirm-btn.reject {
    background: #ff4d4f;
  }
  
  .confirm-btn.reject:hover:not(:disabled) {
    background: #ff7875;
  }
  
  .confirm-btn.deactivate {
    background: #faad14;
  }
  
  .confirm-btn.deactivate:hover:not(:disabled) {
    background: #ffc53d;
  }
  
  .confirm-btn.batch-approve {
    background: #52c41a;
  }
  
  .confirm-btn.batch-approve:hover:not(:disabled) {
    background: #73d13d;
  }
  
  .confirm-btn.batch-reject {
    background: #ff4d4f;
  }
  
  .confirm-btn.batch-reject:hover:not(:disabled) {
    background: #ff7875;
  }
  
  .confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  /* 消息提示 */
  .message-toast {
    position: fixed;
    top: 80px;
    right: 24px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    z-index: 1001;
    animation: slideIn 0.3s ease;
  }
  
  .message-toast.success {
    background: #52c41a;
  }
  
  .message-toast.error {
    background: #ff4d4f;
  }
  
  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .main-content {
      flex-direction: column;
    }
  
    .sidebar {
      width: 100%;
      order: 2;
    }
  
    .content {
      order: 1;
    }
  
    .nav-menu {
      display: flex;
      overflow-x: auto;
      padding: 8px 16px;
    }
  
    .menu-item {
      white-space: nowrap;
      border-left: none;
      border-bottom: 3px solid transparent;
    }
  
    .menu-item.active {
      border-left: none;
      border-bottom-color: #1890ff;
    }
  
    .page-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  
    .user-card {
      flex-direction: column;
      gap: 16px;
    }
  
    .user-actions {
      align-self: stretch;
      justify-content: space-between;
    }
  }